import request from '@/utils/request'


export function changeApproveCommit(data) { //审核-提交审核
    return request({
        url: '/project-quality/api/change/audit/commit',
        method: 'post',
        data
    })
}
export function changeApproveAudit(data) { //审核-审核
    return request({
        url: '/project-quality/api/change/audit/audit',
        method: 'post',
        data
    })
}
export function changeApproveList(data) { //审核-列表
    return request({
        url: '/project-quality/api/change/audit/apply/page',
        method: 'post',
        data
    })
}
export function changeApproveCloseList(data) { //审核-关闭
    return request({
        url: '/project-quality/api/change/audit/close/page',
        method: 'post',
        data
    })
}
export function changeApproveLook(id) { //审核-流程
    return request({
        url: '/project-quality/api/change/audit/'+id,
        method: 'get',
    })
}
export function changeApproverecall(data) { //撤回
    return request({
        url: '/project-quality/api/change/audit/recall',
        method: 'post',
        data
    })
}

export function changeApproverePlan(data) { //查询相关审批流
    return request({
        url: '/project-quality/api/change/process/process',
        method: 'post',
        data
    })
}
